﻿#include "LogWidget.h"
#include "CLogMng.h"

void addMsg(QString sModuleName, QString sDeviceName, QString sFuncName, int nLevel, QString sLog)
{
	return CLogMng::instance().addMsg(sModuleName, sDeviceName, sFuncName, nLevel, sLog);
}

QWidget* createLogWidgte(QString sModuleName,QString sDeviceName)
{
	return CLogMng::instance().createLogWidget(sModuleName, sDeviceName);
}

void destroyLogWidget(QWidget* widget)
{
	return CLogMng::instance().destroyLogWidget(widget);
}